package com.viking.system.login.action;

import com.viking.framework.action.JasonBaseAction;
import com.viking.system.login.service.LoginService;

public class LoginAction extends JasonBaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private LoginService loginService;

	private String userName;

	private String password;

	private String goingToURL;

	public String login() throws Exception {
		this.setGoingToURL("index.do");
		return "success";
	}

	public LoginService getLoginService() {
		return loginService;
	}

	public void setLoginService(LoginService loginService) {
		this.loginService = loginService;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGoingToURL() {
		return goingToURL;
	}

	public void setGoingToURL(String goingToURL) {
		this.goingToURL = goingToURL;
	}

}
